package com.lucenten.collect.config.dao;

import com.lucenten.collect.config.entity.CollectConf;
import com.lucenten.collect.config.entity.dto.ThreadStation;
import com.lucenten.collect.config.entity.query.CollectConfQuery;

import cn.quevo.core.beetlsql.dao.BasicRepository;

import java.util.List;

/**
 * 采集设置 Dao接口
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2019/04/27 11:04:02
 * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
 */
public interface CollectConfDao extends BasicRepository<CollectConf,CollectConfQuery>{
    /**
     * 根据编码获取采集设置
     *
     * @param collectConfQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2019/04/27 11:04:02
     */
    ThreadStation getCollectConfByCode(CollectConfQuery collectConfQuery);

    /**
     * 获取设置列表
     *
     * @param collectConfQuery
     * @return
     */
    List<ThreadStation> getCollectConfList(CollectConfQuery collectConfQuery);
}
